package com.mazaiting.manager.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;

import java.time.LocalDateTime;

/**
 * RequestParam 参数实体保存
 *
 * @author 党海亮
 * @create_time 2022/3/26 12:53
 */
public class RequestParamBO {


    /**
     * SysUserLoginHistory的实体参数
     * 用户 ID
     */
    private Integer userId;

    /**
     * SysUserLoginHistory的实体参数
     * 登录 IP
     */
    private String addrIp;

    /**
     * SysUserLoginHistory的实体参数
     * 登录设备信息
     */
    private String deviceInfo;

    /**
     * SysUserLoginHistory的实体参数
     * 浏览器信息
     */
    private String browser;

    /**
     * SysUserLoginHistory的实体参数
     * 浏览器版本
     */
    private String browserVersion;

    /**
     * SysUserLoginHistory的实体参数
     * 0:PC  1:Android   2:IOS
     */
    private Integer src;

    /**
     * SysUserLoginHistory的实体参数
     * 登录时间
     */
    @TableField(value = "login_time")
    private LocalDateTime loginTime;

    public LocalDateTime getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(LocalDateTime loginTime) {
        this.loginTime = loginTime;
    }

    public RequestParamBO() {
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAddrIp() {
        return addrIp;
    }

    public void setAddrIp(String addrIp) {
        this.addrIp = addrIp;
    }

    public String getDeviceInfo() {
        return deviceInfo;
    }

    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public String getBrowserVersion() {
        return browserVersion;
    }

    public void setBrowserVersion(String browserVersion) {
        this.browserVersion = browserVersion;
    }

    public Integer getSrc() {
        return src;
    }

    public void setSrc(Integer src) {
        this.src = src;
    }

}
